.class Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;
.super Ljava/lang/Object;
.source "VideoViewPane.java"

# interfaces
.implements Landroid/media/MediaPlayer$OnPreparedListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;->setListeners(Landroid/media/MediaPlayer$OnPreparedListener;Landroid/media/MediaPlayer$OnCompletionListener;Landroid/media/MediaPlayer$OnErrorListener;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;

.field final synthetic val$onPrep:Landroid/media/MediaPlayer$OnPreparedListener;


# direct methods
.method constructor <init>(Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;Landroid/media/MediaPlayer$OnPreparedListener;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 124
    iput-object p1, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;

    iput-object p2, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->val$onPrep:Landroid/media/MediaPlayer$OnPreparedListener;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onPrepared(Landroid/media/MediaPlayer;)V
    .locals 1
    .parameter "arg0"

    .prologue
    .line 128
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;

    iget-object v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;->mAudioControl:Lcom/burstly/lib/component/networkcomponent/burstly/AudioControlReciever;

    invoke-virtual {v0, p1}, Lcom/burstly/lib/component/networkcomponent/burstly/AudioControlReciever;->setMediaPlayer(Landroid/media/MediaPlayer;)V

    .line 129
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;

    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;->hideProgress()V

    .line 130
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;

    invoke-virtual {v0}, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;->getMediaController()Landroid/widget/MediaController;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/MediaController;->show()V

    .line 131
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->this$0:Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;

    iget-boolean v0, v0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane;->mVideoRestarted:Z

    if-nez v0, :cond_0

    .line 132
    iget-object v0, p0, Lcom/burstly/lib/component/networkcomponent/burstly/html/VideoViewPane$2;->val$onPrep:Landroid/media/MediaPlayer$OnPreparedListener;

    invoke-interface {v0, p1}, Landroid/media/MediaPlayer$OnPreparedListener;->onPrepared(Landroid/media/MediaPlayer;)V

    .line 134
    :cond_0
    return-void
.end method
